
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title><?php echo $judul ?></title>
        <script type="text/javascript" src="<?php echo base_url() ?>js/jquery-1.5.2.min.js"></script> 
        <script type="text/javascript" src="<?php echo base_url() ?>js/cufon-yui.js"></script>
        <script type="text/javascript" src="<?php echo base_url() ?>js/Myriad_Pro_400-Myriad_Pro_700.font.js"></script>
        <script type="text/javascript" >
            Cufon.replace('.myd');
        </script>

        <link rel="stylesheet" type="text/css" href="<?php echo base_url() ?>css/absen.css"/>


    </head>

    <body>
        <p class="ih atasp">ComLabs USDI ITB | Form Kendali <?php echo $judul ?> | Term-<?php echo $term . ' ' . $tahun ?> </p>
        <table id="bingkaitop2"  width="800px" border="0" cellspacing="0" cellpadding="5">
            <tr>
                <td><table border="0" cellpadding="0" cellspacing="0" id="head80">
                        <tr>
                            <td class="ketabsen"><?php echo $judul ?></td>
                            <td class="ketabsen"><?php echo $kode . '-' . $angkatan ?></td>
                            <td width="350" class="ketabsen"><?php echo $nama_pelatihan ?></td>
                        </tr>
                    </table></td>
                <td width="140"><img id="logoterm" src="<?php echo $logo_term ?>" width="166" height="68" /></td>
                <td width="101"><img id="logocic" src="<?php echo base_url() ?>images/logocic.png" width="620" height="350" /></td>
            </tr>
        </table>
        <table id="absen" width="800px"  border="0" cellspacing="0" cellpadding="0">
            <tr>
                <th class="thsmall" width="4%">No</th>
                <th class="thsmall" width="8%">ComLabs ID</th>
                <th class="thsmall" width="28%">Nama Lengkap</th>
                <th width="10%" class="thsmall"> Tanggal</th>
                <th width="10%" class="thsmall">Tanda Tangan</th>
                <th width="10%" class="thsmall">Petugas</th>
            </tr>
            <?php for($i=0;$i<count($peserta);$i++){?>
            <tr>
                <td class="cen"><?php echo ($i+1)?></td>
                <td class="cen"><?php echo $peserta[$i]['NO_CIC_CARD']?></td>
                <td><?php echo $peserta[$i]['NAMA']?></td>
                <td class="cen">&nbsp;</td>
                <td class="cen">&nbsp;</td>
                <td class="cen">&nbsp;</td>
            </tr>
            <?php } ?>
        </table>
        <p>Printed on <?php echo date('M d, Y') . ', ' . date('H.m A') ?>.</p>

    </body>
</html>
